package com.yongbao.model.request;

import com.yongbao.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("管理员权限请求模型")
public class PermissionRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("上一级id")
    private Long parentId;
    @ApiModelProperty("权限名称")
    private String name;
    @ApiModelProperty("权限类型： 0：页面，1：按钮")
    private Integer type;
    @ApiModelProperty("权限CODE")
    private String code;
    @ApiModelProperty("权限描述")
    private String descpt;
    @ApiModelProperty("操作人")
    private String operator;
}
